Load(String,Nullable<Rectangle>) Method
In This Topic
Loads the image from a file. JPEG, PNG, WEBP formats are supported.
Syntax
'Declaration
Public Overloads Sub Load( _
ByVal As System.String, _
Optional ByVal As System.Nullable(Of Rectangle) _
)
public void Load(
System.string ,
System.Nullable<Rectangle>
)
Parameters
- filePath
- The file path to the image.
- clipRect
- Clipping rectangle of the image to be loaded.
See Also